import request from '@/util/request'
import baseUrl from './base'

export function insertErpMaterialGroup(data) {
  return request({
    url: baseUrl + '/erp/material/group/insert',
    method: 'post',
    data
  })
}

export function listErpMaterialGroup(data) {
  return request({
    url: baseUrl + '/erp/material/group/list',
    method: 'post',
    data
  })
}

export function deleteErpMaterialGroup(data) {
  return request({
    url: baseUrl + '/erp/material/group/delete',
    method: 'post',
    data
  })
}

export function getErpMaterialGroup(data) {
  return request({
    url: baseUrl + '/erp/material/group/get',
    method: 'post',
    data
  })
}

export function updateErpMaterialGroup(data) {
  return request({
    url: baseUrl + '/erp/material/group/update',
    method: 'post',
    data
  })
}

